package com.cloudcms.web.service;

import com.cloudcms.web.entity.Admin;
import com.cloudcms.web.entity.Archives;
import com.cloudcms.web.entity.Attachments;
import com.cloudcms.web.entity.Types;

import java.util.List;

public interface CmsService {
    public List<Admin> selectAdmin(Admin record);
    public int insertAdmin(Admin record);
    public int updateAdmin(Admin record);

    public List<Types> selectTypes(Types record);
    public int insertTypes(Types record);
    public int updateTypes(Types record);

    public List<Archives> selectArchives(Archives record);
    public int insertArchives(Archives record);
    public int updateArchives(Archives record);

    public List<Attachments> selectAttachments(Attachments record);
    public int insertAttachments(Attachments record);
    public int deleteAttachments(Attachments record);
}

